[INFO] fetching crate build 0.0.2...
[INFO] checking build-0.0.2 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate build 0.0.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate build 0.0.2
[INFO] finished tweaking crates.io crate build 0.0.2
[INFO] tweaked toml for crates.io crate build 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate build 0.0.2 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4e579c9a5a6aa973899207c0d1d2eb545e6d71f9838f4096f957a672d6a0c8de
[INFO] running `Command { std: "docker" "start" "-a" "4e579c9a5a6aa973899207c0d1d2eb545e6d71f9838f4096f957a672d6a0c8de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e579c9a5a6aa973899207c0d1d2eb545e6d71f9838f4096f957a672d6a0c8de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e579c9a5a6aa973899207c0d1d2eb545e6d71f9838f4096f957a672d6a0c8de", kill_on_drop: false }`
[INFO] [stdout] 4e579c9a5a6aa973899207c0d1d2eb545e6d71f9838f4096f957a672d6a0c8de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 074c8adb5b5ee31519e6558bf7c28eac94f38c933b54a7b423469e171506c43b
[INFO] running `Command { std: "docker" "start" "-a" "074c8adb5b5ee31519e6558bf7c28eac94f38c933b54a7b423469e171506c43b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking build v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]  --> src/lib.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(RustcEncodable)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]   --> src/lib.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(RustcEncodable)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     try!(enc.emit_struct_field( "type", 0usize, |enc| p_type.encode(enc)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     try!(enc.emit_struct_field( "id", 1usize, |enc| p_id.encode(enc)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]  --> src/lib.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(RustcEncodable)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]   --> src/lib.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(RustcEncodable)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     try!(enc.emit_struct_field( "type", 0usize, |enc| p_type.encode(enc)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     try!(enc.emit_struct_field( "id", 1usize, |enc| p_id.encode(enc)));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `BuildDetailAttributes` in the current scope
[INFO] [stdout]   --> src/lib.rs:28:102
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BuildDetailAttributes {
[INFO] [stdout]    | ---------------------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).encode(enc) });
[INFO] [stdout]    |                                                                                                      ^^^^^^ method not found in `BuildDetailAttributes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encodable`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).description.encode(enc) });
[INFO] [stdout]    |                                                                                                      ++++++++++++
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).homepage.encode(enc) });
[INFO] [stdout]    |                                                                                                      +++++++++
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).name.encode(enc) });
[INFO] [stdout]    |                                                                                                      +++++
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).support.encode(enc) });
[INFO] [stdout]    |                                                                                                      ++++++++
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode` found for struct `BuildDetailAttributes` in the current scope
[INFO] [stdout]   --> src/lib.rs:28:102
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BuildDetailAttributes {
[INFO] [stdout]    | ---------------------------- method `encode` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).encode(enc) });
[INFO] [stdout]    |                                                                                                      ^^^^^^ method not found in `BuildDetailAttributes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Encodable`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).description.encode(enc) });
[INFO] [stdout]    |                                                                                                      ++++++++++++
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).homepage.encode(enc) });
[INFO] [stdout]    |                                                                                                      +++++++++
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).name.encode(enc) });
[INFO] [stdout]    |                                                                                                      +++++
[INFO] [stdout] 28 |                     return enc.emit_struct_field("attributes", 2usize, |enc| -> _ { (* p_attributes).support.encode(enc) });
[INFO] [stdout]    |                                                                                                      ++++++++
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Build: Encodable` is not satisfied
[INFO] [stdout]    --> src/lib.rs:67:32
[INFO] [stdout]     |
[INFO] [stdout] 67  |     let payload = json::encode(&json).unwrap();
[INFO] [stdout]     |                   ------------ ^^^^^ the trait `Encodable` is not implemented for `Build`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Encodable`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 76 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub fn encode<T: ::Encodable>(object: &T) -> EncodeResult<string::String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Build: Encodable` is not satisfied
[INFO] [stdout]    --> src/lib.rs:67:32
[INFO] [stdout]     |
[INFO] [stdout] 67  |     let payload = json::encode(&json).unwrap();
[INFO] [stdout]     |                   ------------ ^^^^^ the trait `Encodable` is not implemented for `Build`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Encodable`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 76 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub fn encode<T: ::Encodable>(object: &T) -> EncodeResult<string::String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `build` (lib) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `build` (lib test) due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "074c8adb5b5ee31519e6558bf7c28eac94f38c933b54a7b423469e171506c43b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "074c8adb5b5ee31519e6558bf7c28eac94f38c933b54a7b423469e171506c43b", kill_on_drop: false }`
[INFO] [stdout] 074c8adb5b5ee31519e6558bf7c28eac94f38c933b54a7b423469e171506c43b
